Directory:I. Conditional JUDGMENT Statement-ifTwo. Looping statements-while & forThree. Break & Continue statement.Four. ExercisesBody:One, conditional judgment statement-if:1) The first type of syntax:If condition: code block2) The second type of
#include
int main ()
{
int n;
for (n=100;n
int main ()
{
int n;
for (n=100;n
Continue is only responsible for having a loop statement produce a "jump back", which is the innermost loop statement closest to continue.
Your first continue is
1. expr computes the integer variable valueS= ' Expr 2 + 3 'The arithmetic symbol and the parameter must have the space separate;2. Let command let s= (2+3) echo $s 3, for statement
For variable in list
Note the point:
The For loop is very different from Python, note the format
Switch~,switch the corresponding case every time the execution has to break, because the basic not how to use switch, so as to understand.
To
Use newGo--Define variable, @ startDECLARE @hello as varchar (20)--Assigned valueSet @hello = ' Sales Department '--You can use variables as parameter values for the selection criteria--select *from bumen where name [email protected]Select does not
Shell programming control structure: expr, let, for, while, until, shift, if, case, break, continue, function, select
1. expr calculates the integer variable value
S = 'expr 2 + 3'
The operator numbers and parameters must be separated by spaces;
2.
If tableSyntax: If then [else ]Syntax: If DO is a test expression. The evaluation result must be true or false.If the test result is true, after then or do is executedThe result is the return value of the IF expression.
Case
In-depth analysis of the browser exit after PHP will continue to execute, in-depth analysis continue to execute
The premise: Here is the typical LNMP structure, the NGINX+PHP-FPM pattern.
If I have a PHP program executed very slowly, even in the
The If statement also requires braces, but if there is only one statement in the curly braces, you can omit the curly braces. It's just a convenience in writing.C, Java,matlab language, the general form of the continue statement is "continue;"Its
The GOTO keyword appears early in the programming language. In fact, Goto is the ancestor of the program control structure of assembly language: "If condition A,
Jump here, or jump there. " If you read the assembly code generated by almost any
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.